﻿using System;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using AnyOffice.Components;
using AnyOffice.DAL;
namespace AnyOffice.general.system.attend
{
    public partial class duty_del : ModulePage 
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int dutyTypeId = (Request.QueryString["duty_type_id"] != null) ? Convert.ToInt32(Request.QueryString["duty_type_id"].ToString()) : 0;
            new AttendConfigDao().Delete(base.Conn, dutyTypeId);
            base.CloseConn();
            Response.Redirect("duty.aspx");
        }

    }
}
